package com.ruoyi.activiti.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ruoyi.activiti.domain.BookBorrow;
import org.apache.ibatis.annotations.Select;

/**
 * 书籍借阅Mapper接口
 * 
 * @author wushi
 * @date 2024-11-19
 */
@Repository
public interface BookBorrowExtMapper extends BookBorrowMapper
{
    @Select("<script>" +
            "select * from book_borrow where id in \n" +
            " <foreach item='id' collection='array' open='(' separator=',' close=')'>\n" +
            "          #{bizIds}\n" +
            " </foreach>" +
            "</script>")
    List<BookBorrow> selectBookBorrowByIds(List<String> bizIds);
}
